<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>ajax测试页面</title>
</head>

<body>

  <input type="text" id="txtEcho">
  <button id="txtSend">发送</button>
  <span id="spResult"></span>


  <img id="imgCode" src="" alt="">
  <a id="acode" href="javascript:void(0)">
    点击更换一张
  </a>
  <input type="text" id="txtCode">
  <button id="btnCode">校验</button>

  <script src="./js/ajax-demo.js" type="module"></script>
  
</body>

</html>